skip-bigendian-roundtrip-failure.patch: new: skip test failure on s390x.
authorÉtienne Mollier <emollier@debian.org>
Wed, 18 Feb 2026 20:21:56 +0000 (21:21 +0100)
committerÉtienne Mollier <emollier@debian.org>
Wed, 18 Feb 2026 20:30:42 +0000 (21:30 +0100)
The correction is work in progress upstream.

debian/patches/series
debian/patches/skip-bigendian-roundtrip-failure.patch [new file with mode: 0644]

index 8634d570eaca631b9d3e07ced333809e037e1784..cbb0b1ed41f1ea5c0825426fbba5c4246ff7482b 100644 (file)
@@ -2,3 +2,4 @@
 #03_datadic_install.patch
 07_dont_export_all_executables.patch
 remove_version.patch
+skip-bigendian-roundtrip-failure.patch
diff --git a/debian/patches/skip-bigendian-roundtrip-failure.patch b/debian/patches/skip-bigendian-roundtrip-failure.patch
new file mode 100644 (file)
index 0000000..ba03d38
--- /dev/null
@@ -0,0 +1,26 @@
+Description: skip test failure on big endian systems.
+ The issue is known upstream and supposed to be fixed in an upcoming
+ version.
+Author: Étienne Mollier <emollier@debian.org>
+Bug: https://lists.debian.org/debian-med/2026/02/msg00018.html
+Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1127756#25
+Forwarded: not-needed.
+Last-Update: 2026-02-17
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- dcmtk.orig/dcmect/tests/t_roundtrip.cc
++++ dcmtk/dcmect/tests/t_roundtrip.cc
+@@ -94,6 +94,13 @@
+         return;
+     }
++    /* Skip that particular test on big endian due to know issue in
++     * version 3.7.0.  This is going to be fixed in a future version.
++     */
++    if (gLocalByteOrder != EBO_LittleEndian) {
++        return;
++    }
++
+     // Creation
+     EctEnhancedCT* ct = create();
+     configureIOD(ct);